<?php 

 	$id = $_GET['id'];
 
 	$db = include "./db.php";

 	array_splice($db, $id,1);
 	// var_dump($db);
 	$str = var_export($db,true);
 	$str = "<?php return ".$str."?>";
 	file_put_contents('./db.php', $str);
 	header('location:./index.php');














 ?>